﻿using Prometheus;
using System;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himp.Platform
{
    public class HimpDefaultMetricsService : PlatformAppService
    {
        public HimpDefaultMetricsService()
        {

        }

        public void CollectMetrics()
        {
            // 收集应用程序的指标数据
            MetricsRegistry.RequestsCounter.Inc();
        }
    }
}
